package com.xc.pojo;

import java.util.Date;

public class AgentUser {

    private Integer id;

    private String agentName;

    private String agentPwd;

    private String agentRealName;

    private String agentPhone;

    private String agentCode;

    private Date addTime;

    private Integer isLock;

    private Integer parentId;

    private String parentName;




    public AgentUser(Integer id, String agentName, String agentPwd, String agentRealName, String agentPhone, String agentCode, Date addTime, Integer isLock, Integer parentId, String parentName) {
        this.id = id;
        this.agentName = agentName;
        this.agentPwd = agentPwd;
        this.agentRealName = agentRealName;
        this.agentPhone = agentPhone;
        this.agentCode = agentCode;
        this.addTime = addTime;
        this.isLock = isLock;
        this.parentId = parentId;
        this.parentName = parentName;
    }

    public AgentUser() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName == null ? null : agentName.trim();
    }

    public String getAgentPwd() {
        return agentPwd;
    }

    public void setAgentPwd(String agentPwd) {
        this.agentPwd = agentPwd == null ? null : agentPwd.trim();
    }

    public String getAgentRealName() {
        return agentRealName;
    }

    public void setAgentRealName(String agentRealName) {
        this.agentRealName = agentRealName == null ? null : agentRealName.trim();
    }

    public String getAgentPhone() {
        return agentPhone;
    }

    public void setAgentPhone(String agentPhone) {
        this.agentPhone = agentPhone == null ? null : agentPhone.trim();
    }

    public String getAgentCode() {
        return agentCode;
    }

    public void setAgentCode(String agentCode) {
        this.agentCode = agentCode == null ? null : agentCode.trim();
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getIsLock() {
        return isLock;
    }

    public void setIsLock(Integer isLock) {
        this.isLock = isLock;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName == null ? null : parentName.trim();
    }
}